﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ExampleWebApplication.Models
{
    public class Task
    {
        public TimeSpan StarTime { get; protected set; }
        public TimeSpan EndTime { get; protected set; }
        public string Description { get; protected set; }

        internal Task(TimeSpan starTime, TimeSpan endTime, string description)
        {
            StarTime = starTime;
            EndTime = endTime;
            Description = description;
        }
    }
}